package com.sanshui.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sanshui.mapper.UserMapper;
import com.sanshui.model.entity.User;
import com.sanshui.service.UserService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@RequiredArgsConstructor
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {


    private final UserMapper userMapper;

    @Override
    public User findUserName(User user) {
        return userMapper.getUserName(user);
    }


}
